

import { ConfigType } from "@/types/config";
import { get, post } from "@/utils/request";
/**
 * 查询配置
 * @returns 
 */
export const queryConfigBykey = (key: string) => get<ConfigType.Row>(`/config/${key}`);
export const saveConfig = (data: ConfigType.Form) => post(`/config/save`, data);

